package com.yourname.www.listen;

import com.yourname.www.frame.dialog.AddStudentDialog;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class AddStudentActionListener implements ActionListener {
    private JFrame jf;
    public AddStudentActionListener(JFrame jf){
        this.jf =jf;
    }
    @Override
    public void actionPerformed(ActionEvent e) {
        //弹出添加学生信息的对对话框
        new AddStudentDialog(jf);
    }
}
